<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>JS生成验证码</title>
    <link rel="stylesheet"  href="../../style/code.css">
    <script type="text/javascript" src="../../js/code.js"></script>
    <script language="javascript" type="text/javascript">
      $(function () {
          createCode();
      })
    </script>
</head>
<body onload="createCode()">
<form action="#">
    <input type="text" id="input" />
    <input type="text" onclick="createCode()" readonly="readonly" id="checkCode" class="unchanged" style="width: 80px" /><br />
    <input id="Button" onclick="validate();" type="button" value="确定" />
</form>
</body>
</html>